<?php

namespace App\Controller;

/**
 * Description of Index
 *
 * @author lxc
 */
class Index extends \Core\Controller
{

	public function __construct()
	{
		parent::__construct();
	}

	public function index()
	{
		$this->_echo(__FILE__);
	}

	public function read()
	{
		$model = \Core\Db::getInstance();
		$list = $model->select('select * from `user` where full_name is not null limit 50');
		$this->_assign('lists', $list);
		$this->_display();
	}

}
